From 5f15becca30a1ab7557851230a7e31d00aab9d8e Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 23 Nov 2017 21:50:57 +0100 Subject: Disown some packages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- xz-java [disowned]/PKGBUILD | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 xz-java [disowned]/PKGBUILD (limited to 'xz-java [disowned]/PKGBUILD') diff --git a/xz-java [disowned]/PKGBUILD b/xz-java [disowned]/PKGBUILD new file mode 100644 index 0000000..56993be --- /dev/null +++ b/xz-java [disowned]/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org> +pkgname=xz-java +pkgver=1.5 +pkgrel=1 +pkgdesc="Java library for XZ and LZMA compression" +arch=('any') +url="http://tukaani.org/xz/java.html" +license=('Public Domain') +depends=('java-runtime>=1.4') +makedepends=('java-environment>=1.4', 'unzip') +provides=('xz-java') +conflicts=('xz-java') +source=(http://tukaani.org/xz/xz-java-$pkgver.zip) +sha256sums=(0146e437b01ac77046d256a2e7537768b6922c49635c27fa40b3cf745bb2db74) + +build() { + cd "$srcdir" + javac -source 1.4 -target 1.4 -d . -s src -cp . $(find src | grep \\.java\$) + jar -cf xz-java.jar $(find . | grep \\.class\$) +} + +package() { + cd "$srcdir" + install -d "$pkgdir/usr/lib/" + install -m 755 xz-java.jar "$pkgdir/usr/lib/" +} -- cgit v1.2.3-70-g09d2